
const mongoose = require("../../../db/db");

/**
 * @description 管理系统 字典模型
 */
const Schema = mongoose.Schema({
    // 字典编号 
    dictNo: {
        type: String,
    },
    //创建日期
    createDate: {
        type: Number,
    },
    //字典名称
    dictName: {
        type: String,
        require: true
    },
    //字典类型
    dictType: {
        type: String,
        require: true
    },
    // 备注
    remark: {
        type: String,
    },
    //状态
    status: {
        type: String,
        default: "1"
    },

})
const MAIN_TAB_DICT = mongoose.model("MAIN_TAB_DICT", Schema);
module.exports = MAIN_TAB_DICT;